package modules.report;

import java.util.List;

import modules.MainModule;

import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;

import dto.CD_Menu;

@At("/listReport")
@IocBean
public class ListReport extends MainModule{
	
	@Ok("json")
	@At("/show")
	public Object show(){
		List<CD_Menu> list = dao.query(CD_Menu.class, null) ;
		return list ;
	}
}
